package com.xuanwei.core.enums;

/**
 * @Author jiangyong
 * @Description TODO
 * @Date 2019/7/24 10:43
 **/
public enum CourierStatus {

    PACKAGE(0, "揽件"),
    TRANSPORT(1, "运输中"),
    DELIVERY(2, "派件中"),
    SUCCESS(3, "已签收"),
    EXCEPTION(4, "异常");

    private Integer code;

    private String message;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    CourierStatus(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
